/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.storage.api;

import com.jeesite.modules.storage.common.ServerResponse;
import org.springframework.web.bind.annotation.*;

import java.util.HashMap;
import java.util.Map;

/**
 * APP Controller
 */
@RestController(value = "apipush")
@RequestMapping(value = "/api/push")
class PushController extends APIController {

    /**
     * 获取推荐活动
     * @param activityId 活动Id
     * @return 首页推荐
     */
    @RequestMapping(method = RequestMethod.GET,value = "activity")
    @ResponseBody
    public ServerResponse<Map> activity(@RequestParam(value="activityId") String activityId){
        Map map = new HashMap();
        map.put("activityId","");
        map.put("thumbnail","");
        map.put("title","");
        return ServerResponse.createBySuccess(200,map);
    }
}